package com.yooohooo.designpattern.factory.method;

import com.yooohooo.designpattern.bean.phone.SonyPhone;

/**
 * @ClassName: SonyFactory
 * @Description:
 * @author Yooo
 * @date 2017年6月16日 上午1:54:53
 * 
 */
public class SonyPhoneFactory implements PhoneFactory {
	public SonyPhone getPhone() {
		SonyPhone sonyPhone = new SonyPhone();
		sonyPhone.setBrand("Sony");
		sonyPhone.setOs("Android");
		return sonyPhone;
	}
}
